// Device/pages/Bind/Verify/components/sleep-component/index.js
const app = getApp();
Component({
    properties: {
        componentData: {
            default: {},
            type: Object
        }
    },
    observers: {
        'componentData': function (value) {
            if (value) {
                this.setData({
                    ...value
                })
            }
        }
    },
    data: {
        staticPrefix: app.globalData.STATIC_PREFIX
    },
    methods: {
        onNavigate() {
            this.triggerEvent('navigate')
        }
    }
})